ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






FUNCTION:  UCase( )

UCase(String)

The UCase function converts a string to all upper case letters.

There is also a companion function LCase to convert to lower case letters.

Code:
<% =UCase("Aardvarks do not make good pets!") %>

Output:
AARDVARKS DO NOT MAKE GOOD PETS!